package com.yishusmt.mobsmt.controller;

import com.yishusmt.mobsmt.dto.base.Result;
import com.yishusmt.mobsmt.entity.ContactPeopleEntity;
import com.yishusmt.mobsmt.entity.ReceivingAddressEntity;
import com.yishusmt.mobsmt.mapper.ContactPeopleEntityMapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 联系人操作
 *
 * @author zhangyi
 * @date 2018/8/11 14:49
 */
@RestController
@RequestMapping("/contactPeople")
public class ContactPeopleController {


    /**
     * 添加联系人
     *
     * @param contactPeopleEntity
     * @return
     */
    public Result add(ContactPeopleEntity contactPeopleEntity){
        return null;
    }

    /**
     * 删除联系人
     *
     * @param contactId
     * @return
     */
    public Result del(Integer contactId){
        return null;
    }

    /**
     * 修改联系人
     *
     * @param contactPeopleEntity
     * @return
     */
    public Result update(ContactPeopleEntity contactPeopleEntity){
        return null;
    }
    /**
     * 查询所有联系人
     *
     * @param contactPeopleEntity
     * @return
     */
    public Result selectAllContactPeople(ContactPeopleEntity contactPeopleEntity){
        return null;
    }
    /**
     * 查询详细联系人信息
     *
     * @param id
     * @return
     */
    public Result selectContactPeopleById(Integer id){
        return null;
    }
}
